package com.fegin.api;

import feign.Feign;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author:RenPu
 * @Date: 2020/8/27 18:45
 * @Version: 1.0
 * @description:
 */

@SpringBootApplication
@EnableDiscoveryClient
public class FeginProviderMain {

    public static void main(String[] args) {
        new SpringApplicationBuilder(FeginProviderMain.class)
                .web(WebApplicationType.SERVLET)
                .run(args);
    }


}
